#include "vector.hpp"

int main()
{
    vector<int> v;
    v.push_back(1);
    v.push_back(2);
    v.push_back(3);
    v.push_back(4);
    v.push_back(5);
    v.push_back(6);
    v.push_back(7);
    v.push_back(8);
    v.push_back(9);
    v.push_back(10);
    v.print();

    v.pop_back();
    v.pop_back();
    v.pop_back();

    v.insert(v.begin() + 2, 100);
    v.insert(v.begin() + 2, 200);
    v.insert(v.begin() + 2, 300);
    v.insert(v.begin() + 2, 400);
    v.insert(v.begin() + 2, 500);
    v.print();

    v.erase(v.begin() + 2);
    v.erase(v.begin() + 2);
    v.print();
    return 0;
}